package com.nimitz.modules.approval.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nimitz.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;



/**
 * @ClassName ApprovalProcedureNode
 * @Author FuCun
 * @Date 2021-08-17-14:45
 * @PackageName com.nimitz.modules.approval.domain
 * @Description 审批流线程表
 * @Version 1.0.0
 */
@TableName("approval_procedure_process")
@ApiModel(value="ApprovalProcedureProcess对象", description="审批流线程表")
public class ApprovalProcedureProcess extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 审批流节点id
     */
    @ApiModelProperty(value = "审批流节点id")
    @TableId(value = "procedure_process_id", type = IdType.AUTO)
    private Long procedureProcessId;

    /**
     * 审批流编号
     */
    @ApiModelProperty(value = "审批流编号")
    private Long procedureNo;

    /**
     * 前一节点id（对应审批流节点明细表id）
     */
    @ApiModelProperty(value = "前一节点id（对应审批流节点明细表id）")
    private Long procedurePrevNodeId;

    /**
     * 后一节点id
     */
    @ApiModelProperty(value = "后一节点id")
    private Long procedureNextNodeId;

    /**
     * 线程详情
     */
    @ApiModelProperty(value = "线程详情")
    private String procedureInfo;

    /**
     * 删除标志(0代表存在 2代表删除)
     */
    @ApiModelProperty(value = "删除标志(0代表存在 2代表删除)")
    private String delFlag;


    public Long getProcedureProcessId() {
        return procedureProcessId;
    }

    public void setProcedureProcessId(Long procedureProcessId) {
        this.procedureProcessId = procedureProcessId;
    }
    public Long getProcedureNo() {
        return procedureNo;
    }

    public void setProcedureNo(Long procedureNo) {
        this.procedureNo = procedureNo;
    }
    public Long getProcedurePrevNodeId() {
        return procedurePrevNodeId;
    }

    public void setProcedurePrevNodeId(Long procedurePrevNodeId) {
        this.procedurePrevNodeId = procedurePrevNodeId;
    }
    public Long getProcedureNextNodeId() {
        return procedureNextNodeId;
    }

    public void setProcedureNextNodeId(Long procedureNextNodeId) {
        this.procedureNextNodeId = procedureNextNodeId;
    }
    public String getProcedureInfo() {
        return procedureInfo;
    }

    public void setProcedureInfo(String procedureInfo) {
        this.procedureInfo = procedureInfo;
    }
    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return "ApprovalProcedureProcess{" +
            "procedureProcessId=" + procedureProcessId +
            ", procedureNo=" + procedureNo +
            ", procedurePrevNodeId=" + procedurePrevNodeId +
            ", procedureNextNodeId=" + procedureNextNodeId +
            ", procedureInfo=" + procedureInfo +
            ", delFlag=" + delFlag +

        "}";
    }
}
